//
//  PPPhotoBrowserController.h
//  pickpic
//
//  Created by 胡文广 on 2017/4/11.
//  Copyright © 2017年 MicroDream. All rights reserved.
//

///MARK：电子书相关规则
typedef enum : NSUInteger {
    
    
    //1.模板预览(不显示缩略图、导航显示按钮使用,导航栏标题显示模板名称)
    PPPhotoBrowserTypeTemplate = 1,
    
    //2.默认相册电子书预览(预览、缩略图背景为黑色、封底=封面+遮罩+二维码，显示缩略图只有内页图片\导航显示页码、相册标题)
    PPPhotoBrowserTypeAlbumNone = 2,
    
    //3.电子书(封底=底图+二维码、封底=封底+二维码,显示缩略图只有内页图片，导航显示页码、相册标题)
    PPPhotoBrowserTypeEbook = 3,
    

    
} PPPhotoBrowserType;

#import "PPBaseViewController.h"
@class PPAlbumImageModel,PPTemplateModel,PPHomeAlbumModel;
@interface PPPhotoBrowserController : PPBaseViewController

@property (nonatomic,strong) PPAlbumModel *albumModel;

//相册描述
//@property (nonatomic,copy) NSString *albumDesc;

//相册封面
//@property (nonatomic,strong) UIImage *coverImage;

@property (nonatomic,assign) PPPhotoBrowserType type;

@property (nonatomic,strong) PPTemplateModel *templateM;

//相册封面信息
//@property (nonatomic,strong) PPHomeAlbumModel *albumCoverModel;

//相册信息
@property (nonatomic,strong) PPHomeAlbumModel *albumHomeModel;


@property (nonatomic,copy) void (^BlockDownLoadTemplate)();
@property (nonatomic,copy) void (^BlockEmployTemplate)(PPTemplateModel *templateM);

@property (nonatomic,copy) void (^BlockSaveEbookInfo)();

//内页所有地址
@property (nonatomic,strong) NSArray *innerImageURLs;

//生成的电子书封面+内页
@property (nonatomic,strong) NSMutableArray *ebookAlbums;

@end
